import { Hono } from 'hono'
import { serveStatic } from 'hono/bun'
import { readFileSync } from "fs"

const app = new Hono()

const html = readFileSync("./demo/index.html", "utf-8")

app.use("*", serveStatic({
    root: "./demo",
}))

app.get('/', (c) => c.html(html))

export default app